Learn R Programming

Directional (version 6.1)

Bootstrap ANOVA for circular data: Bootstrap ANOVA for circular data

Description

Bootstrap ANOVA for circular data.

Usage

hcfcircboot(u, ina, rads = TRUE, B = 999)
hetcircboot(u, ina, rads = TRUE, B = 999)

Value

A vector including two or three numbers, the test statistic value, the bootstrap p-value of the test and the common concentration parameter kappa based on all the data.

Arguments

u

A numeric vector containing the data of all groups.

ina

The grouping variables. A factor or a numerical vector specifying the groups to which each observation belongs to.

rads

If the data are in radians, this should be TRUE and FALSE otherwise.

B

The number of bootstraps to perform.

Author

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

Details

The high concentration (hcfcircboot), or the non equal concentration parameters approach (hetcircboot) is used.

References

Mardia K. V. and Jupp P. E. (2000). Directional statistics. Chicester: John Wiley & Sons.

Rumcheva P. and Presnell B. (2017). An improved test of equality of mean directions for the Langevin-von Mises-Fisher distribution. Australian & New Zealand Journal of Statistics, 59(1): 119--135.

Tsagris M. and Alenazi A. (2022). An investigation of hypothesis testing procedures for circular and spherical mean vectors. Communications in Statistics-Simulation and Computation (Accepted for publication).

See Also

hcf.circaov, het.aov

Examples

Run this code
u1 <- rvonmises(20, 2.4, 5)
u2 <- rvonmises(20, 2.4, 10)
hcfcirc.boot(u1, u2)

Run the code above in your browser using DataLab